* Loading demographic data to produce table 1 and 2
use "\\Client\H$\Dropbox\Replications_papers\PSRM\Table_1_2\xzd_0412_demographics.dta", clear

 *Table 1
sort yd
 by yd: sum log_income age gender schooling unemployed marriage
 
 *Table 2
 probit yd log_income age schooling gender  unemployed marriage
 
 